package com.letoken.platform.repo.ecommerce.dto;

import com.letoken.platform.pub.annotation.sms.SpecifyMatch;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "修改评价属性（匿名或删除）", description = "修改评价属性对象")
public class UserModifyEvaAttributeReq implements Serializable {




    @ApiModelProperty(value = "评价ID")
    @NotNull(message = "80000007")
    private Integer id;


    @ApiModelProperty(value = "修改属性类型 1=匿名 2=删除")
    @NotNull(message = "80000007")
    @SpecifyMatch(intValues = {1,2})
    private Integer type;




}
